package design_pattern.builder;

public class Director {
  private Builder builder;

  public Director(Builder builder) {
    this.builder = builder;
  }

  /** */
  /**
   * 该方法组装我的full house
   */
  public House construct() {
    builder.buildPart1();
    builder.buildPart2();
    builder.buildPart3();
    return builder.getHouse();
  }
}
